.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ec3c4e;
    box-sizing: border-box;
    padding-left: .8rem;
    padding-right: .8rem;
    height: 3rem;
    color: white;
    font-size: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;

    .header_left {
        height: 2rem;
        width: 3rem;
        background: url('/images/icon.png') no-repeat -454px -3px;
        margin-bottom: -.2rem;
        zoom: .8;
    }

    .header_middle {
        height: 2rem;
        line-height: 1.6rem;
    }

    .header_right {
        width: 3rem;
        height: 2rem;
        background: url('/images/icon.png') no-repeat -444px -34px;
        margin-top: -.5rem;
        zoom: .8;
    }
}

.loop_img {
    margin-top: 3rem;
    height: 10rem;

    >div {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}

.nav_img {
    height: 7rem;
    box-sizing: border-box;
    padding: .5rem;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #e3e3e5;
    margin-bottom: 1rem;

    .nav_img_item {
        height: 5rem;
        display: flex;
        flex-direction: column;
        justify-items: center;
        justify-content: space-around;

        div {
            img {
                width: 3.5rem;
                height: 3.5rem;
            }
        }
    }
}

.costomer_mell {
    box-sizing: border-box;
    border-top: 1px solid #e3e3e5;
    border-bottom: 1px solid #e3e3e5;
    padding: 1rem;
    height: 11rem;

    p {
        font-size: 16px;
    }

    >div {
        margin-top: 1rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .costomer_mell_list {
        div {
            font-size: 16px;
            margin-top: .8rem;
            color: #878788;

            img {
                display: block;
                width: 4rem;
                height: 4rem;
                border-radius: 50%;
            }
        }
    }
}

.promotion {
    margin-top: 1rem;

    .promotion_header {
        height: 3rem;
        border-bottom: 1px solid #e3e3e5;
        border-top: 1px solid #e3e3e5;
        font-size: 16px;
        line-height: 3rem;
        box-sizing: border-box;
        padding-left: 1rem;
    }

    .promotin_lists {
        width: 100%;
        overflow: hidden;
        .promotion_product {
            margin-left: .5rem;
            margin-top: -2rem;
            float: left;
            width: 7rem;
            height: 13rem;

            img {
                width: 100%;
            }

            .product_name {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                font-size: 14px;
                line-height: 20px;
            }

            .product_price {
                line-height: 20px;

                span:nth-child(1) {
                    color: red;
                }

                span:nth-child(2) {
                    text-decoration: line-through;
                }
            }
        }

    }
}